package com.pojo;


public class Address {

  private long id;
  private String receiveName;
  private String phoneNum;
  private String address;
  private long userId;

  public Address() {
  }

  public Address(long id, String receiveName, String phoneNum, String address, long userId) {
    this.id = id;
    this.receiveName = receiveName;
    this.phoneNum = phoneNum;
    this.address = address;
    this.userId = userId;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getReceiveName() {
    return receiveName;
  }

  public void setReceiveName(String receiveName) {
    this.receiveName = receiveName;
  }


  public String getPhoneNum() {
    return phoneNum;
  }

  public void setPhoneNum(String phoneNum) {
    this.phoneNum = phoneNum;
  }


  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }


  public long getUserId() {
    return userId;
  }

  public void setUserId(long userId) {
    this.userId = userId;
  }

  @Override
  public String toString() {
    return "Address{" +
            "id=" + id +
            ", receiveName='" + receiveName + '\'' +
            ", phoneNum='" + phoneNum + '\'' +
            ", address='" + address + '\'' +
            ", userId=" + userId +
            '}';
  }
}
